package top.yuyufeng.web.servlet;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author yuyufeng
 * @date 2018/1/22
 */
@WebServlet(name = "ValidUIMobileServlet", urlPatterns = "/validUIMobileServlet")
public class ValidUIMobileServlet extends HttpServlet{
    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse response) throws ServletException, IOException {
       req.getRequestDispatcher("/WEB-INF/pages/mobile.jsp").forward(req,response);
    }
}
